package com.fmy.security.service;

import com.fmy.security.cache.Token;
import com.fmy.security.config.TokenProperties;
import org.springframework.security.core.Authentication;

/**
 * @author Mr.fmy
 * @version 1.0.0
 * @Description TODO token生成器
 * @createTime 2019/9/6 14:03
 */
public interface TokenGenerate {

    Token generate(Authentication authentication, String loginType, long expireTime);
}
